package com.yunxi.customer.pojo;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.yunxi.core.web.DateJsonDeserializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 个人征信信息表
 * </p>
 *
 * @author
 * @since 2019-09-04
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "CustomCreditReporting对象", description = "个人征信信息表")
public class CustomCreditExportVO implements Serializable {

   private String finProduct;//金融类型 1.金融机构2.银行分期

   @ApiModelProperty(value = "客户类型1个人2企业")
   private String customerType;

   @ApiModelProperty(value = "审核状态1待审批，2已通过，3已拒绝,4退回补件,5已确认")
   private String approvalStatus;

   private String isLicense;//是否自备牌照

   //个人信息
   @ApiModelProperty(value = "姓名")
   private String name;

   @ApiModelProperty(value = "性别")
   private String gender;

   @ApiModelProperty(value = "手机号")
   private String phone;

   @ApiModelProperty(value = "证件类型 1身份证2军官证3港澳台海外地区证件4企业代码证5驾驶证")
   private String idCertType;

   private String idCertNo;//证件号码

   private String province;//居住省

   private String city;//居住地级市

   @ApiModelProperty(value = "现居住地址")
   private String addr;

   private String residenceprovince;//户籍省(户口所在地)

   @ApiModelProperty(value = "婚姻状态 0：未识别，1：已婚，2：未婚")
   private String maritalStatus;

   @ApiModelProperty(value = "身份证号")
   private String idCard;

   private String education;//学历



   @ApiModelProperty(value = "单位名称")
   private String employerName;

   @ApiModelProperty(value = "工作单位地址")
   private String employerAddr;

   private String companycity;//单位所在地级市

   private String companyprovince;//单位所在省

   @ApiModelProperty(value = "紧急联系人")
   private String emergencyContact;

   @ApiModelProperty(value = "紧急联系人电话")
   private String emergencyContactPhone;

   private String urgencyrelation;//与紧急联系人关系

   private String propertystatus;//居住状况

   private String mainincome;//主要税后年收入

   @ApiModelProperty(value = "配偶姓名")
   private String spouseName;

   @ApiModelProperty(value = "配偶手机")
   private String spousePhone;

   @ApiModelProperty(value = "配偶身份证")
   private String spouseCertNo;

   @ApiModelProperty(value = "配偶现居住地址")
   private String spouseAddr;

   @ApiModelProperty(value = "配偶单位名称")
   private String spouseEmployerName;

   @ApiModelProperty(value = "配偶工作单位地址")
   private String spouseEmployerAddr;



   //企业信息
   @ApiModelProperty(value = "公司名称")
   private String company;

   private String companyCode;//企业代码

   @ApiModelProperty(value = "公司固话")
   private String companyPhone;

   private String companytype;//企业类型

   private String companyLinkName;//公司联系人姓名

   @ApiModelProperty(value = "公司联系人电话")
   private String companyLinkPhone;

   @ApiModelProperty(value = "公司办公地址")
   private String companyAddr;

   private String businessCity;//办公城市

   @ApiModelProperty(value = "公司法人代表")
   private String companyLegalPerson;

   @ApiModelProperty(value = "公司法人性别")
   private String companyLegalGender;

   @ApiModelProperty(value = "公司法人手机号码")
   private String companyLegalPhone;

   private String taxpayerType;//纳税人类型

   private String invoiceTitle;//发票抬头

   private String taxNo;//纳税人识别号

   private String depositBank;//发票开户行

   private String bankCardNo;//发票开户账号

   private String invoiceAdd;//开票地址

   private String invoiceTel;//开票电话

   private String invoiceSendAdd;//发票寄送地点

   @ApiModelProperty(value = "开票信息")
   private String billingInfo;

   @ApiModelProperty(value = "担保人姓名")
   private String surety;

   @ApiModelProperty(value = "担保人与申请人关系")
   private String suretyRelation;

   @ApiModelProperty(value = "担保人手机")
   private String suretyPhone;

   @ApiModelProperty(value = "担保人证件号")
   private String suretyCertNo;

   @ApiModelProperty(value = "担保人现居住地址")
   private String suretyAddr;

   private String guarantorCity;//担保人现居城市

   @ApiModelProperty(value = "担保人单位名称")
   private String suretyEmployerName;

   @ApiModelProperty(value = "担保人工作单位地址")
   private String suretyEmployerAddr;

   private String guarantorCompanyCity;//担保人工作城市

   @ApiModelProperty(value = "(企业客户)紧急联系人")
   private String companyEmergencyContact;

   @ApiModelProperty(value = "(企业客户)与申请人关系")
   private String companyRelation;

   @ApiModelProperty(value = "(企业客户)紧急联系电话")
   private String companyEmergencyPhone;






   //订单信息
   @ApiModelProperty(value = "订单编号")
   private String leadsid;

   @ApiModelProperty(value = "金融机构")
   private String financingInsitution;

   @ApiModelProperty(value = "产品类型 1-->购车 2-->体验车 3-->畅享车")
   private String productType;

   @ApiModelProperty(value = "车辆申请时间")
   private String applyTime;

   @ApiModelProperty(value = "车型")
   private String vehicleModel;

   @ApiModelProperty(value = "车辆金额(发票价)")
   private BigDecimal vehiclePrice;

   @ApiModelProperty(value = "车辆申请区域")
   private String applyArea;




   //金融方案
   private String finTerm;//分期情况

   @ApiModelProperty(value = "首付比例")
   private Integer downPaymentRatio;

   @ApiModelProperty(value = "保证金比例")
   private Integer suretyAmountRatio;

   @ApiModelProperty(value = "留购价比例")
   private Integer retentionRatio;

   @ApiModelProperty(value = "留购价金额")
   private BigDecimal retentionAmount;

   @ApiModelProperty(value = "总价格")
   private BigDecimal transactionPrice;

   @ApiModelProperty(value = "利率")
   private String financingRate;

   private String tariff;//费率

   private String discountType;//贴息类型  1：百分比 2：固定金额

   private String discountValue;//贴息值

   private String monthManagePrice;//牌照管理费

   @ApiModelProperty(value = "创建时间")
   private String createTimeStr;



   @ApiModelProperty(value = "创建时间")
   private Date createTime;



//   //图片信息
//   @ApiModelProperty(value = "身份证正面")
//   private String idImgPath1;
//
//   @ApiModelProperty(value = "身份证反面")
//   private String idImgPath2;
//
//   @ApiModelProperty(value = "驾照正面")
//   private String licenseImgPath1;
//
//   @ApiModelProperty(value = "驾照反面")
//   private String licenseImgPath2;
//
//   @ApiModelProperty(value = "银行流水PDF")
//   private String bankReordPath;
//
//   @ApiModelProperty(value = "房产证材料1")
//   private String premisesPermitPath1;
//
//   private String personCreditPic; //个人征信图片
//
//   private String businessLicensePic; //营业执照图片/企业经营执照链接
//
//   private String suretyCreditPic; //担保人征信

}
